package com.mysterymall.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mysterymall.Model.Entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName com.mysterymall.Mapper
 * @Description
 * @Author HuangWX
 * @Time 2023/11/17  13:10
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {
    Page<Goods> selectAll(Page<Goods> page);

    Page<Goods> selectByStatusAndNum(Page<Goods> page, @Param("goodsStatus") int goodsStatus);
}